package com.woniuxy.portal.service;

import com.woniuxy.portal.model.dto.LoginRequest;
import com.woniuxy.portal.model.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.http.ResponseEntity;

/**
* @author scott
* @description 针对表【t_user】的数据库操作Service
* @createDate 2024-10-18 11:00:44
*/
public interface UserService extends IService<User> {

    /**
     * 用户登录
     */
    ResponseEntity<?> login(LoginRequest param);

    boolean isEmailExist(String email);

    boolean isAccountExist(String account);

    boolean isMobileExist(String mobile);
}
